function CheckAll(strSection)
{
	var i;
	var	colInputs = document.getElementById(strSection).getElementsByTagName("input");
	for	(i=1; i < colInputs.length; i++)
	{
		colInputs[i].checked=colInputs[0].checked;
	}
}

function change(event) 
{ 
  var oObj = event.srcElement == undefined ? event.target : event.srcElement; 
  if(oObj.tagName.toLowerCase() == "td") 
  { 
	  var oTable = oObj.parentNode.parentNode; 
	  for(var i=1; i<oTable.rows.length; i++) 
	  { 
		  oTable.rows[i].className = "out"; 
		  oTable.rows[i].tag = false; 
	  } 

	  var oTr = oObj.parentNode; 
	  oTr.className = 'down'; 
	  oTr.tag = true; 
  } 
} 

function out(event) 
{ 
	var oObj = event.srcElement == undefined ? event.target : event.srcElement; 
	if(oObj.tagName.toLowerCase() == "td") 
	{ 
		var oTr = oObj.parentNode; 
		if(!oTr.tag) 
			oTr.className = "out"; 
	} 
}

function over(event) 
{ 
	var oObj = event.srcElement == undefined ? event.target : event.srcElement; 
	if(oObj.tagName.toLowerCase() == "td") 
	{ 
		var oTr = oObj.parentNode; 
		if(!oTr.tag) 
			oTr.className = "over"; 
	} 
}